import java.net.Socket;

/**
 * @author 乐心湖
 * @version 1.0
 * @date 2021/8/30 9:29
 */

public class ChatClient {
    public static void main(String[] args) throws Exception {
        Socket client = ConnectedUtils.getConnection();
        MyClientSocket.setSocket(client);
        new Thread(new ClientRecv(),"接受消息线程").start();
        new Thread(new ClientSend(),"发送消息线程").start();
    }
}
